var models = require('../models')
var User = models.User

exports.findAll = function * () {
  return yield User.find().exec()
}
